<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
  <link type="text/css" rel="stylesheet" th:href="@{/css/login.css}">
  <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
  <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<title>Insert title here</title>
</head>
<body>
	<div class="container">
  <h2>添加地址</h2>
    <form th:action="@{/changeAddress}" method="post">
    
   <div class="form-group">
    <label for="id">员工ID:</label>
      <select id="id" class="form-control" name="e_id">
      		<option th:each="id:${ids}" th:value="${id}" class="form-control" >[[${id}]]</option>
      </select>
    </div>
      
    <div class="form-group">
      <label for="account">用户名:</label>
      <input class="form-control" id="account"  name="username">
      <span  class="red">[[${userName}]]</span>
    </div>
    <div class="form-group">
      <label for="address">地址:</label>
      <input  class="form-control" id="address"
       name="a_address">
    </div>
    <div class="form-group">
      <label for="mobile">移动电话:</label>
      <input  class="form-control" id="mobile"
       name="a_tellphone">
       <span  class="red">[[${mobile}]]</span>
    </div>
    <div class="form-group">
      <label for="fiexd">固定电话:</label>
      <input  class="form-control" id="fiexd" name="a_fixedphone">
    </div>
    <div class="form-group">
      <label for="emergency">紧急联系人:</label>
      <input  class="form-control" id="emergency" name="a_emergency">
        <label for="email">邮箱:</label>
      <input  class="form-control" id="email" name="a_email">
       <span class="red">[[${email}]]</span>
    </div>
    <button type="submit" class="btn btn-primary">添加</button>
  </form>
</div>
	
</body>
</html>